package com.hjy.ui

import android.os.Bundle
import android.widget.Button
import androidx.appcompat.app.AppCompatActivity
import androidx.constraintlayout.motion.widget.MotionLayout

class HanActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_han)
        val showDebug =findViewById<Button>(R.id.showDebug)
        val motionLayout =findViewById<MotionLayout>(R.id.motionLayout)
        showDebug.setOnClickListener {
            motionLayout.setDebugMode(MotionLayout.DEBUG_SHOW_PATH)
        }
    }
}